/*
 * bpb.S - fat12 header
 *
 * Copyright (C) 2009 by TanMenglong <tanmenglong@gmail.com>
 * 
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful, 
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the
 * Free Software Foundation, Inc.,
 * 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 */

BS_OEMName:
	.ascii "rabbitos"
BPB_BytsPerSec:		#512 bytes per sector
	.short 0x0200
BPB_SecPerClus:		#1 sectors per cluster
	.byte 0x1
BPB_RsvdSecCnt:		#boot record occupy 1 sector
	.short 0x0001
BPB_NumFATs:		#number of fat tables
	.byte 0x2
BPB_RootEntCnt:		#max entries in root.244
	.short 0xe0
BPB_TotSec16:		#number of sectors
	.short 0xb40
BPB_Media:			#media descriptor,1.44 floppy
	.byte 0xf0
BPB_FATSz16:		#sectors per fat,9
	.short 0x9
BPB_SecPerTrk:		#sectors per track
	.short 0x12
BPB_NumHeads:		#2 heads
	.short 0x2
BPB_HiddSec:		#number of hidden sectors
	.long 0x0
BPB_TotSec32:		#to indicate the number of sectors if BPB_TotSec16 is 0.
	.long 0x0
BS_DrvNum:			#dirve number
	.byte 0
BS_Reserved1:		#not used
	.byte 0x0
BS_BootSig:			#extended boot sign
	.byte 0x29
BS_VolID:			#volumn id
	.long 0	
BS_VolLab:			#volumn label,11 bytes
	.ascii "rabbit     "
BS_FileSysType:		#Filesystem type,8 bytes
	.ascii "FAT12   "

